package com.hxzy.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzy.shop.dto.resp.AnnouncementClassificationListResp;
import com.hxzy.shop.entity.AnnouncementSendRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 功能描述
 *
 * @author tonneyyy
 */
public interface AnnouncementSendRecordMapper extends BaseMapper<AnnouncementSendRecord> {
    List<AnnouncementClassificationListResp> getAnnouncementClassificationListRespList(@Param("merchantId") String merchantId, @Param("isLook") Integer isLook);

    Integer getAnnouncementSendNum(
            @Param("merchantId") String merchantId,
            @Param("announcementClassificationId") Long announcementClassificationId,
            @Param("isLook") Integer isLook);
}
